package dao;

import entry.WorkOrder;

import java.util.ArrayList;

public interface WorkOrderDao {
    /**
     * 根据PID查询所有工单信息
     * @param
     * @return
     */
    ArrayList<WorkOrder> queryByPid(WorkOrder workOrder);


    /**
     * 添加表单
     * @param workOrder
     * @return   返回 0失败  1成功
     */
    int insert(WorkOrder workOrder);

}
